package com.codeyourlife.service.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.codeyourlife.dao.SearchDao;
import com.codeyourlife.service.SearchService;
@Service("searchService") 
public class SearchServiceImpl implements SearchService{

	@Autowired
	private SearchDao searchDao;
	
	public List<Object> getSearchCourse(String searchContent,int page) {
		return searchDao.getCourseBySearchContent(searchContent,page);
	}
	
}
